//
//  ShoujiView.m
//  GuoBang
//
//  Created by 冯帅 on 16/5/11.
//  Copyright © 2016年 梧桐树. All rights reserved.
//

#import "ShoujiView.h"

@implementation ShoujiView



-(instancetype)initWithFrame:(CGRect)frame
{
    
    self = [super initWithFrame:frame];
    if (self) {
        self.backgroundColor = [UIColor whiteColor];
        //        self.titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(11, 12, 150, 14)];
        //        self.titleLabel.font = [UIFont systemFontOfSize:14];
        //        self.titleLabel.textColor = RGBCOLOR(69, 69, 69);
        //        [self addSubview:self.titleLabel];
        
        
        self.myPhone = [[UILabel alloc] initWithFrame:CGRectMake(10, 7, 70, 12)];
        self.myPhone.font = [UIFont systemFontOfSize:12];
        self.myPhone.textColor = RGBCOLOR(69, 69, 69);
        self.myPhone.text = @"本机号码";
        [self addSubview:self.myPhone];
        
        self.mydetails = [[UILabel alloc] initWithFrame:CGRectMake(10, CGRectGetMaxY(self.myPhone.frame) + 7, 70, 12)];
        self.mydetails.font = [UIFont systemFontOfSize:12];
        self.mydetails.textColor = RGBCOLOR(69, 69, 69);
        self.mydetails.text = @"点击[选]使用:";
        [self addSubview:self.mydetails];
        
        self.phoneNumLabel = [[UILabel alloc] initWithFrame:CGRectMake(CGRectGetMaxX(self.mydetails.frame) + 2, CGRectGetMinY(self.mydetails.frame), 100, 12)];
        self.phoneNumLabel.font = [UIFont systemFontOfSize:12];
        self.phoneNumLabel.textColor = RGBCOLOR(69, 69, 69);
        self.phoneNumLabel.text = @"17718238917";
        [self addSubview:self.phoneNumLabel];
        
        self.otherPhone = [[UILabel alloc] initWithFrame:CGRectMake(10, CGRectGetMaxY(self.mydetails.frame) + 12, 70, 12)];
        self.otherPhone.font = [UIFont systemFontOfSize:12];
        self.otherPhone.textColor = RGBCOLOR(69, 69, 69);
        self.otherPhone.text = @"其他手机";
        [self addSubview:self.otherPhone];
        
        
        self.otherdetails = [[UILabel alloc] initWithFrame:CGRectMake(10, CGRectGetMaxY(self.otherPhone.frame) + 7, 200, 12)];
        
        self.otherdetails.font = [UIFont systemFontOfSize:12];
        self.otherdetails.textColor = RGBCOLOR(69, 69, 69);
        self.otherdetails.text = @"点击[选]输入手机号码";
        [self addSubview:self.otherdetails];
        
        
        self.mychoiceBtn = [UIButton buttonWithType:UIButtonTypeCustom];
        self.mychoiceBtn.frame = CGRectMake(self.frame.size.width - 40, 8, 30, 30);
       [self.mychoiceBtn setBackgroundImage:[UIImage imageNamed:@"order_ico_choose.png"] forState:UIControlStateNormal];
        [self addSubview:self.mychoiceBtn];
        
        
        
        
        self.otherchoiceBtn = [UIButton buttonWithType:UIButtonTypeCustom];
        self.otherchoiceBtn.frame = CGRectMake(self.frame.size.width - 40, CGRectGetMaxY(self.mychoiceBtn.frame) + 12, 30, 30);
        [self.otherchoiceBtn setBackgroundImage:[UIImage imageNamed:@"order_ico_choose.png"] forState:UIControlStateNormal];
        [self addSubview:self.otherchoiceBtn];
        
        
        

        
    }
    
    return self;
    
    
    
    
}




























@end
